
package cz.muni.fi.pa165.hauntedhouses.service;

import cz.muni.fi.pa165.hauntedhouses.dto.HouseDTO;
import cz.muni.fi.pa165.hauntedhouses.dto.HumanDTO;
import java.util.List;

/**
 *An interface for human service layer defining basic methods.
 * @author Siliarus
 */
public interface HumanService {
    void create(HumanDTO human);
    
    void update(HumanDTO human);
    
    void remove(HumanDTO human);
    
    List<HumanDTO> findByName(String name);
    
    List<HumanDTO> findAll();
    
    List<HumanDTO> findByHouse(HouseDTO house);
    
    HumanDTO get(Long id);
}
